package edu.neusoft.springhtmldemo.service;

import edu.neusoft.springhtmldemo.mapper.EchartsResultMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EchartsResultService {
    @Autowired
    private EchartsResultMapper mapper;

    public List<Float> queryEcharts(String sql) {
        return mapper.queryEcharts(sql);
    }
}
